package com.zt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import java.math.BigDecimal;

/**
 * @TableName users
 */
@TableName(value ="users")
@Data
public class Users implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String phone;

    private String password;

    private String nickname;

    private String avatarUrl;

    private Date createdAt;

    private Date updatedAt;

    private Integer status;

    private Integer role;
    private Integer hy;
    private String hySj;
    private String hyDq;
    
    /**
     * 纬度坐标
     */
    private BigDecimal latitude;
    
    /**
     * 经度坐标
     */
    private BigDecimal longitude;

    private static final long serialVersionUID = 1L;
}